package com.trkj.dao;

/**
 * MemberDAO工厂，保证只创建一个MemberDAO对象
 * @author Administrator
 *
 */
public class MemberDAOFactory {
	private static MemberDAO memberDAO;
	
	public static MemberDAO createDAO(){
		if(memberDAO == null){
			memberDAO = new MemberDAO();
		}
		return memberDAO;
	}
}
